package com.zdsoft.finance.product.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zdsoft.finance.base.service.impl.BaseServiceImpl;
import com.zdsoft.finance.common.base.CustomRepository;
import com.zdsoft.finance.product.entity.ProductDocType;
import com.zdsoft.finance.product.repository.ProductDocTypeRepository;
import com.zdsoft.finance.product.service.ProductDocTypeService;

/**
 * 产品文档类型操作实现
 * @author longwei
 * @date 2016/11/22
 * @version 1.0
 */
@Service("productDocTypeService")
public class ProductDocTypeServiceImpl extends BaseServiceImpl<ProductDocType, CustomRepository<ProductDocType, String>>
		implements ProductDocTypeService {
	
	@Autowired
	private ProductDocTypeRepository productDocTypeRepository;

	@Override
	public List<ProductDocType> findAll() {
		
		return productDocTypeRepository.findAll();
	}

}
